package com.tancire.net.enums;

/**
 * 全局是否
 */
public enum AllYesNoEnum {

    NO(0, "否"), YES(1, "是");

    private final int code;
    private final String info;

    AllYesNoEnum(int code, String info) {
        this.code = code;
        this.info = info;
    }

    public int getCode() {
        return code;
    }

    public String getInfo() {
        return info;
    }

}
